html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #161929;
    position: relative;
    overflow: hidden;
    user-select: none;
}

audio {
    opacity: 0;
}

.message {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    width: 160px;
    background-color: rgba(0, 0, 0, 0.52);
    padding: 0px 17px;
    top: 25px;
    border-radius: 6px;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
}

.message p {
    line-height: 1;
    font-size: 14px;
    color: #ffffff;
}

.spark {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    position: absolute;
    background-color: rgba(231, 200, 160, 0.8);
    box-shadow: 0 0 40px 0 rgba(231, 200, 160, 0.8);
    animation: glow 5s infinite;
}

.medium-spark {
    width: 7px;
    height: 7px;
}

#fireworks canvas {
    display: block;
}

#imageDisplay {
    display: none;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

#imageDisplay img {
    width: 100%;
    height: auto;
    max-width: 800px;
}

@keyframes glow {
    0%, 100% {
        transform: scale(1);
        background-color: rgba(231, 200, 160, 0.8);
        box-shadow: 0 0 40px 0 rgba(231, 200, 160, 0.8);
    }
    50% {
        transform: scale(1.1);
        background-color: rgba(231, 200, 160, 1);
        box-shadow: 0 0 60px 0 rgba(231, 200, 160, 1);
    }
}

#fireworks {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
